﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace IT_Project_Monopoly
{
    public partial class BankLogItem : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        public float Amount
        {
            set
            {
                logAmount.Text = Convert.ToString(value);
            }
            get
            {
                return float.Parse(logAmount.Text);
            }
        }

        public string LogTime
        {
            set
            {
                logTime.Text = value;
            }
            get
            {
                return logTime.Text;
            }
        }
    }
}